home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / ftpser1a / addeditd.frm next >
Text File  |  1999-08-24  |  2KB  |  81 lines

  1. VERSION 5.00
  2. Begin VB.Form AddEditDir 
  3.    AutoRedraw      =   -1  'True
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "Add/Edit Directory"
  6.    ClientHeight    =   1185
  7.    ClientLeft      =   45
  8.    ClientTop       =   330
  9.    ClientWidth     =   4605
  10.    ControlBox      =   0   'False
  11.    LinkTopic       =   "Form1"
  12.    MaxButton       =   0   'False
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   1185
  15.    ScaleWidth      =   4605
  16.    StartUpPosition =   1  'CenterOwner
  17.    Begin VB.CommandButton AddEditCnx 
  18.       Caption         =   "Cancel"
  19.       Height          =   375
  20.       Left            =   3240
  21.       TabIndex        =   4
  22.       Top             =   600
  23.       Width           =   975
  24.    End
  25.    Begin VB.CommandButton AddEditDone 
  26.       Caption         =   "Done"
  27.       Default         =   -1  'True
  28.       Height          =   375
  29.       Left            =   1800
  30.       TabIndex        =   3
  31.       Top             =   600
  32.       Width           =   975
  33.    End
  34.    Begin VB.CommandButton BrowseDir 
  35.       Caption         =   "Browse"
  36.       Height          =   375
  37.       Left            =   360
  38.       TabIndex        =   2
  39.       Top             =   600
  40.       Width           =   975
  41.    End
  42.    Begin VB.TextBox DirPath 
  43.       Height          =   285
  44.       Left            =   720
  45.       TabIndex        =   0
  46.       Top             =   120
  47.       Width           =   3735
  48.    End
  49.    Begin VB.Label Label1 
  50.       Caption         =   "Path"
  51.       Height          =   255
  52.       Left            =   120
  53.       TabIndex        =   1
  54.       Top             =   120
  55.       Width           =   495
  56.    End
  57. End
  58. Attribute VB_Name = "AddEditDir"
  59. Attribute VB_GlobalNameSpace = False
  60. Attribute VB_Creatable = False
  61. Attribute VB_PredeclaredId = True
  62. Attribute VB_Exposed = False
  63. Option Explicit
  64.  
  65. Private Sub AddEditCnx_Click()
  66.   UserOpts.Tag = ""
  67.   Unload Me
  68. End Sub
  69.  
  70. Private Sub AddEditDone_Click()
  71.   UserOpts.Tag = DirPath.Text
  72.   Unload Me
  73. End Sub
  74.  
  75. Private Sub BrowseDir_Click()
  76.   AddEditDir.Tag = DirPath.Text
  77.   FindFolder.Show 1
  78.   DirPath.Text = AddEditDir.Tag
  79. End Sub
  80.  
  81.